<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        let sbo = Symbol('aaa')

        let obj1 = {
            name: 'zs',
            age: 19,
            length: 5,
            [sbo]: 'Hhhhaaaaaaaaaaa'
        }

        Object.prototype.zs = '张三';
        obj1.__proto__.lisi = '李四'

        let keys = Object.keys(obj1);
        console.log(keys);

        let vals = Object.values(obj1)
        console.log(vals)

        let vk = Object.entries(obj1)
        console.log(vk)

        for (let [key, val] of vk) {
            console.log(key + '------' + 'val')
        }
    </script>
</body>

</html>